<!--
  -- @module vue-demo
  -- @desc app
  -- @author ervinewell on 2017/04/07
  -->

<template>
  <div>
    <div>This is a Vue demo.</div>
    <router-link :to="'/list'">查看列表</router-link>
    <div id="main">
      <router-view></router-view>
    </div>
  </div>
</template>

<style>
  #main {
    margin-top: 20px;
  }
</style>

<script>
  import { mapState } from 'vuex';
  import store from './store';
  import router from './router';

  export default {
    store,
    router,
  }
</script>